package com.design.bridge.player;

// 视频播放器类
class VideoPlayer implements MediaPlayer {
    private OperatingSystem os;

    public VideoPlayer(OperatingSystem os) {
        this.os = os;
    }

    @Override
    public void play() {
        System.out.println("Playing video...");
        os.renderMedia("video");
    }
}
